import {request} from '@/request/request'

let baseURL = '/api/user'

// 提交表单
export function reportForm(data){
  return request({
      url: baseURL + '/report-form',
      method: 'post',
      data: data
  })
}

// 检查今天是否打卡
export function checkReport(){
  return request({
      url: baseURL + '/check-report',
      method: 'post'
  })
}

// 获取用户信息
export function getStudentInfo(){
  return request({
      url: baseURL + '/student-info',
      method: 'get'
  })
}